package com.micro.service.Impl;

import com.micro.mapper.UserMapper;
import com.micro.pojo.User;
import com.micro.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.authority.AuthorityUtils;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;


    @Override
    public List<User> getList() {
        List<User> users = userMapper.selectAll();
        return users;
    }

    @Override
    public void saveUserDetails(User user) {

    }


}
